package com.snails.mall.elasticsearch.biz.admin.service;

import com.ruyuan.little.project.common.dto.CommonResponse;
import com.snails.mall.elasticsearch.biz.admin.dto.AdminGoodsSpuDTO;

/**
 * @author gaoxu
 * date: Created on 2021/11/16 下午2:25
 */
public interface AdminGoodsService {

    /**
     * 查询商品列表
     *
     * @param adminGoodsSpuDTO 查询条件
     * @return
     */
    CommonResponse list(AdminGoodsSpuDTO adminGoodsSpuDTO);

    /**
     * 根据id 查询商品的spu详情信息
     *
     * @param id 商品的spuid
     * @return
     */
    CommonResponse getSpuDetailById(String id);
}
